package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 定制服务对象 db_customized
 * 
 * @author ruoyi
 * @date 2025-03-22
 */
public class DbCustomized extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 农户id */
    @Excel(name = "农户id")
    private Long nhId;

    /** 农户名 */
    @Excel(name = "农户名")
    private String nhName;

    /** 农户头像 */
    @Excel(name = "农户头像")
    private String nhPhoto;

    /** 定制产品id */
    @Excel(name = "定制产品id")
    private Long proId;

    /** 种植方案 */
    @Excel(name = "种植方案")
    private String scheme;

    /** 配方 */
    @Excel(name = "配方")
    private String formula;

    /** 帖子id */
    @Excel(name = "帖子id")
    private Long tzId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setNhId(Long nhId) 
    {
        this.nhId = nhId;
    }

    public Long getNhId() 
    {
        return nhId;
    }

    public void setNhName(String nhName) 
    {
        this.nhName = nhName;
    }

    public String getNhName() 
    {
        return nhName;
    }

    public void setNhPhoto(String nhPhoto) 
    {
        this.nhPhoto = nhPhoto;
    }

    public String getNhPhoto() 
    {
        return nhPhoto;
    }

    public void setProId(Long proId) 
    {
        this.proId = proId;
    }

    public Long getProId() 
    {
        return proId;
    }

    public void setScheme(String scheme) 
    {
        this.scheme = scheme;
    }

    public String getScheme() 
    {
        return scheme;
    }

    public void setFormula(String formula) 
    {
        this.formula = formula;
    }

    public String getFormula() 
    {
        return formula;
    }

    public void setTzId(Long tzId) 
    {
        this.tzId = tzId;
    }

    public Long getTzId() 
    {
        return tzId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nhId", getNhId())
            .append("nhName", getNhName())
            .append("nhPhoto", getNhPhoto())
            .append("proId", getProId())
            .append("scheme", getScheme())
            .append("formula", getFormula())
            .append("tzId", getTzId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
